// 加载users数据表
require('./model/admins')
require('./model/goods')
require('./model/auth')
require('./model/articles')
require('./model/favorites')
require('./model/message')
require('./model/orders')
require('./model/route')
require('./model/typeOne')
require('./model/typeTwo')
require('./model/users')




// 开始数据库接口
const mongoose = require("mongoose");
mongoose.connect(
    "mongodb://tangzhenhua:Lovo123456@182.92.214.223:8084/wuyu-tiangouProject", {
        useNewUrlParser: true,
        useUnifiedTopology: true,
        auth: {
            authSource: "admin"
        }
    },
    () => console.log("db is running...")
);